<?php
/**
 * Created by PhpStorm.
 * User: sunnicholas
 * Date: 2017/10/27
 * Time: 16:08
 */

include_once ('./phpqrcode/qrlib.php');

$content = 'BEGIN:VCARD'."\n";
$content .= 'N:施'."\n";
$content .= 'FN:芸'."\n";
$content .= 'ORG:陕西省西安市碑林区劳动仲裁'."\n";
$content .= 'TEL;WORK;VOIDE:(029)88888888'."\n";
$content .= 'TEL;HOME;VOIDE:(029)66666666'."\n";
$content .= 'TEL;TYPE=cell:18502954669'."\n";
$content .= 'ADR;HOME:;;万达广场(李家村)二栋二单元;碑林区;西安市;710001;中国'."\n";
$content .= 'EMAIL:18502954669@QQ.COM'."\n";
$content .= 'url:HTTP://WWW.GOV.GOV'."\n";
$content .= 'END:VCARD'."\n";

//QRcode::png($content);
QRcode::png($content,'sy.png',QR_ECLEVEL_H,3,2);